import numpy as np
NODE_SIZE = 6
INF = 1000000
dis = np.array([[0, 2, 3, INF, 5, INF],
                [2, 0, INF, 4, INF, INF],
                [3, INF, 0, INF, 4, INF],
                [INF, 4, INF, 0, 1, 2],
                [5, INF, 4, 1, 0, 5],
                [INF, INF, INF, 2, 5, 0]])
h = np.array([INF, 2, 5, 2, 1, 0])
g = np.array([INF] * NODE_SIZE)
# f=h+g
name = ["Start", "A", "B", "C", "D", "Goal"]
start = 0
goal = NODE_SIZE - 1

import AstarSearchClass as ass2
aa=ass2.AstarSearch()
aa.astarSearch(dis=dis, h=h, goal=goal, start=start,name=name)

import AstarSearch as ass3
bb=ass3.AstarSearch(dis2=dis, h2=h, goal2=goal, start2=start,name2=name)